package managers.conversationManager;

import java.io.IOException;

import spotGUI.floatingChatGUI.FloatingChat;

public abstract class Conversation {
	
	protected ConversationManager convManager = ConversationManager.getSharedInstance();
	
	protected FloatingChat chat;
	protected int userId;
	

	public int getUserId () {
		return userId;
	}



	public abstract void sendMessage(byte[] message) throws Exception;

	public abstract void sendWritingState(int state) throws IOException;
	
	public abstract void closeConnection () throws IOException;


}